package com.aigou.admin.service;
import com.aigou.admin.entity.PageEntity;
import com.aigou.admin.entity.Product_type;
import com.aigou.admin.entity.Shop_cart_product;
import com.aigou.admin.entity.User;

import java.util.List;
/**
 * @Author: May
 * @Date: 2024/12/3 12:56
 * @Version: 1.0
 */
public interface Product_typeService {
    List<Product_type> findAll();
    Product_type findById(String id);
    Boolean save(Product_type productType);
    Boolean update(Product_type productType);
    Boolean remove(String id);

    /**
     * 分页查询
     * @param current
     * @param pageSize
     * @return
     */
    PageEntity<Product_type> findUserPage(Integer current, Integer pageSize);


    List<Product_type> findByNameContaining(String name);
}
